Skip to main content
GET
One page of a breakdown (workspaces, agents, users, triggers, platforms, providers, models), sliced from the same cached aggregate as ``/usage/summary``

Authorizations

Authorization
string
header
required

API key: key id as the username, secret as the password. An account API key carries the same scopes as an OAuth token and is checked against the scopes listed under oauth2 on each operation. A trigger API key is limited to its trigger's workspace and reaches only the session operations that list this scheme alongside the oauth2 scopes.

Path Parameters

account_id_or_name
string
required
dimension
string
required

Query Parameters

limit
integer
default:20

Maximum number of items to return.

Required range: 1 <= x <= 500
offset
integer
default:0

Number of items to skip before returning results.

Required range: 0 <= x <= 9223372036854776000
days
integer
default:30

Window in days, ending now

Required range: 1 <= x <= 365
start
string<date> | null

First day, YYYY-MM-DD; overrides days with end

end
string<date> | null

Last day, YYYY-MM-DD

provider
string | null
model
string | null
platform
string | null
workspace_id
string | null

Only this workspace, by ID or full name

agent_id
string | null

Only this agent, by ID or full name

user_id
string | null
find
string | null
Maximum string length: 200

Response

Successful response

The response is of type object.